package com.ruoyi.bizsys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.bizsys.domain.WalletOrder;
import com.ruoyi.bizsys.vo.WalletOrderVo;

import java.util.List;

/**
 * 钱包订单Service接口
 *
 * @author african-loan
 * @date 2022-06-17
 */
public interface IWalletOrderService extends IService<WalletOrder> {
    /**
     * 查询钱包订单
     *
     * @param id 钱包订单ID
     * @return 钱包订单
     */
    public WalletOrder selectWalletOrderById(Long id);

    /**
     * 查询钱包订单列表
     *
     * @param walletOrder 钱包订单
     * @return 钱包订单集合
     */
    public List<WalletOrder> selectWalletOrderList(WalletOrder walletOrder);

    /**
     * 新增钱包订单
     *
     * @param walletOrder 钱包订单
     * @return 结果
     */
    public int insertWalletOrder(WalletOrder walletOrder);

    /**
     * 修改钱包订单
     *
     * @param walletOrder 钱包订单
     * @return 结果
     */
    public int updateWalletOrder(WalletOrder walletOrder);

    /**
     * 批量删除钱包订单
     *
     * @param ids 需要删除的钱包订单ID
     * @return 结果
     */
    public int deleteWalletOrderByIds(Long[] ids);

    /**
     * 删除钱包订单信息
     *
     * @param id 钱包订单ID
     * @return 结果
     */
    public int deleteWalletOrderById(Long id);

    List<WalletOrderVo> selectWalletList(WalletOrder walletOrder);
}
